package ar.edu.caece.compiler.grammar.nonterminals;

import ar.edu.caece.compiler.grammar.NonTerminalSymbol;
import ar.edu.caece.compiler.grammar.terminals.NNaturalToken;

public class VALOR1 extends NonTerminalSymbol implements VALOR {

	private NNaturalToken nNaturalToken;

	
	public VALOR1(NNaturalToken nNaturalToken) {
		super();
		this.nNaturalToken = nNaturalToken;
	}

	@Override
	public String getRepresentation() {
		return "[VALOR1 "+this.getAttribute("sample")+"-> "+nNaturalToken.getRepresentation()+"}";

	}

	public NNaturalToken getnNaturalToken() {
		return nNaturalToken;
	}

}
